/*设置全局背景和字体颜色*/
QMainWindow { background-color: #ffffff; }

QWidget {
    background-color: #ffffff;
    color: #DCDCDC;
}
/*调色板*/
QPalette{background:#1890ff;}
*{outline:0px;color:#DCDCDC;}
QListWidget {
    outline: 0
}
QListWidget::item {
    height: 45px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #000000;
}
QListWidget::item:hover {
    background-color: #1890ff;
    color:white;
}
QListWidget::item:selected {
    background-color: #1890ff;
    color: white;
    border: none;
}
/*按钮样式*/
QPushButton{
    background-color: #1890ff;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 5px;
    font-size:14px;
}
/*按悬浮*/
QPushButton:hover{
    background-color: #40a9ff;
}
/*按按下*/
QPushButton:pressed{
    background-color: #096dd9;
}
QRadioButton {
    spacing: 5px;
    color: #000000;
    border: none;
    font-size:14px;
}
QRadioButton::indicator {
    width: 16px;
    height: 16px;
    border-radius: 10px;
    border:2px solid #999999;
}
/*QRadioButton::indicator:hover ,QRadioButton::indicator:checked:hover{
  background-color: #40a9ff;
}*/
/*QRadioButton::indicator:pressed ,QRadioButton::indicator:checked:pressed {
  background-color: #096dd9;
  border:2px solid #999999;
}*/
QRadioButton::indicator:checked {
    border:2px solid #1890ff;
    background-image: url(:/qss/img/checkbox-check.png);
    background-repeat: no-repeat;
    background-position: center;
}
QCheckBox {
    spacing: 5px;
    color: #000000;
    border: none;
    font-size:14px;
}
QCheckBox::indicator {
    width: 15px;
    height: 15px;
    border:2px solid #999999;
}
QCheckBox::indicator:checked {
    background-image: url(:/qss/img/checkbox-check.png);
    border:2px solid #1890ff;
    background-repeat: no-repeat;
    background-position: center;
}
/* 整体样式 */
QComboBox {
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    padding: 2px 25px 2px 8px; /* 右边留空间放箭头 */
    background-color: #ffffff;
    color: #333333;
    height: 28px;
}

/* 鼠标悬停 */
QComboBox:hover {
    border: 1px solid #1890ff;
}
/* 展开下拉时 */
QComboBox:focus {
    border: 1px solid #40a9ff;
}
/* 下拉箭头 */
QComboBox::down-arrow {
    image: url(:/qss/img/arrow-down.png);
    width: 10px;
    height: 10px;
}
/* 下拉箭头区域（按钮） */
QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 20px;
    border-left: 1px solid #C0C0C0;
}
/* 下拉列表整体 */
QComboBox QAbstractItemView {
    border: 1px solid #C0C0C0;
    background-color: #ffffff;
    outline: 0;
    selection-background-color: #1890ff;
    selection-color: white;
}
/* 列表中的每项 */
QComboBox QAbstractItemView::item {
    height: 28px;
    padding-left: 8px;
    color: #333333;
}
/* 列表项 Hover 效果 */
QComboBox QAbstractItemView::item:hover {
    background-color: #E6F7FF;
}



